clear;

colors = {
    [1.0000, 0.0000, 0.0000]
    [0.0000, 0.0000, 1.0000]
    [0.7098, 0.2000, 0.3608]
    [0.4902, 0.0706, 0.6863]
    [0.7059, 0.5333, 0.8824]
    [0.8000, 0.8000, 0.1000]
    [0.0588, 0.6471, 0.6471]
    [0.0392, 0.4275, 0.2667]
    [0.4157, 0.5373, 0.0824]
    [1.0000, 0.0000, 1.0000]
    [0.5490, 0.5490, 0.4549]
    [0.9373, 0.6863, 0.1255]
    [0.4471, 0.3333, 0.1725]
    [0.0000, 1.0000, 1.0000]
    [0.7176, 0.5137, 0.4392]
    [1.0000, 0.0000, 0.0000]
    [0.0000, 0.0000, 1.0000]
    [0.7098, 0.2000, 0.3608]
    [0.4902, 0.0706, 0.6863]
    [0.7059, 0.5333, 0.8824]
    [0.8000, 0.8000, 0.1000]
    [0.0588, 0.6471, 0.6471]
    [0.0392, 0.4275, 0.2667]
    [0.4157, 0.5373, 0.0824]
    [1.0000, 0.0000, 1.0000]
    [0.5490, 0.5490, 0.4549]
    [0.9373, 0.6863, 0.1255]
    [0.4471, 0.3333, 0.1725]
    [0.0000, 1.0000, 1.0000]
    [0.7176, 0.5137, 0.4392]
};

lines = {'-','-','-','-','-','-','-','-','-','-','--','--','--','--','--','--','--','--','--','--','--','--','--','--'};

names = {
    'RCF-VGG16'
    'RCF-ResNet50'
    'RCF-ResNet101'
    'DDS'
    'DEL'
    'COB'
    'HED'
    'HFL'
    'DeepEdge'
    'DeepContour'
    'OEF'
    'HFS'
    'MCG'
    'SE'
    'ISCRA'
    'gPb-UCM'
    'BEL'
    'Pb'
    'EGB'
    'MShift'
    'NCut'
    'Canny'
    'Sobel'
    'Roberts'
};

years = {
    ' (2019)'
    ' (2019)'
    ' (2019)'
    ' (2018)'
    ' (2018)'
    ' (2017)'
    ' (2017)'
    ' (2015)'
    ' (2015)'
    ' (2015)'
    ' (2015)'
    ' (2016)'
    ' (2016)'
    ' (2013)'
    ' (2013)'
    ' (2011)'
    ' (2006)'
    ' (2004)'
    ' (2004)'
    ' (2002)'
    ' (2000)'
    ' (1986)'
    ' (1972)'
    ' (1963)'
};

edgesEvalPlot('edge_eval_bsds', names, colors, lines, years, true);

title('BSDS500');
